home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
6584
/
6584.xpi
/
chrome
/
flashvideodownloader
/
content
/
lic.js
< prev
next >
Wrap
Text File
|
2009-10-06
|
2KB
|
50 lines
var FlashVDLic = {
lictext : "Before getting down to using this plug-in, please, take the time to \
read the terms of use stated in the current license agreement. Any use \
of this program implies that you have read and accepted these terms to \
the fullest extent. \
\n\n \
1) Flash Video Downloader Plug-In is designed for downloading \
flash-content (video, games, music, etc.) with the help of the \
http://flashvideodownloader.org/ service, which gets opened in a new \
Firefox Internet browser window when needed. \
\n\n \
2) All the information received by http://flashvideodownloader.org/ is \
used solely for purposes listed in clause 1. \
\n\n \
3) http://flashvideodownloader.org/ disclaims any legal responsibility \
for further use of the content downloaded with the help of the service",
options : null,
loadData : function()
{
this.options = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch("FlashVD.options.");
document.getElementById("lic").value = FlashVDLic.lictext;
},
writeOk : function()
{
FlashVDLic.write_reg_string('flashvideodownloaderlic', '1');
window.close();
},
write_reg_string : function (a, b)
{
//var c = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
try
{
var d = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
d.data = b;
this.options.setComplexValue(a, Components.interfaces.nsISupportsString, d);
return true;
}
catch(e)
{
return false;
}
}
}